<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <th:block th:include="include :: header('添加字典类型')"/>
</head>
<body class="x-admin-sm">
<div class="layui-fluid">
    <div class="layui-row">
        <form class="layui-form" id="dictAddType">
            <input id="dictId" name="dictId" hidden>

            <div class="layui-form-item">
                <label for="dictName" class="layui-form-label">
                    <span class="x-red">*</span>字典名称
                </label>
                <div class="layui-input-block">
                    <input type="text" id="dictName" name="dictName" required="" lay-verify="required|dictName"
                           autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label for="dictType" class="layui-form-label">
                    <span class="x-red">*</span>字典类型
                </label>
                <div class="layui-input-block">
                    <input type="text" id="dictType" name="dictType" required="" lay-verify="required|dictType"
                           autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label for="status" class="layui-form-label">
                    <span class="x-red">*</span>状态
                </label>
                <div class="layui-input-inline">
                    <input type="checkbox" id="status" name="status" lay-skin="switch"
                           checked="true" required="" lay-verify="required"
                           autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>
                </div>
            </div>

            <div class="layui-form-item">
                <label for="remark" class="layui-form-label">
                    <span class="x-red">*</span>备注
                </label>
                <div class="layui-input-block">
                    <textarea id="remark" name="remark" placeholder="备注信息" class="layui-textarea"></textarea>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>